//
//  EFengContactButton.m
//  WZEfengAndEtong
//
//  Created by wanzhao on 16/2/18.
//  Copyright © 2016年 wanzhao. All rights reserved.
//

#import "EFengContactButton.h"

@interface EFengContactButton ()

WeakProperty UIView *line;

@end

@implementation EFengContactButton


- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.imageView.contentMode = UIViewContentModeCenter;
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        self.backgroundColor = ClearColor;
        [self setExclusiveTouch:YES];/*禁用按钮同时点击*/
        
//        UIView *line = [[UIView alloc] init];
//        line.hidden = YES;
//        line.backgroundColor = RGBCOLOR(44, 170, 253);
//        [self addSubview:line];
//        self.line = line;
        
        
    }
    return self;
}

- (void)setHighlighted:(BOOL)highlighted
{
    
}

- (void)setSelected:(BOOL)selected
{
    [super setSelected:selected];
//    self.line.hidden = !selected;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
//    self.line.frame = CGRectMake(0, self.height - 3.0f, self.width, 3.0f);
}


@end
